﻿ADD_DEFINITIONS(-DSOUI_EXPORTS -DUTILITIES_EXPORTS) 
ADD_DEFINITIONS(-DUNICODE -D_UNICODE)

CollectSourceFiles(${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES)
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})

add_library(soui STATIC ${PRIVATE_SOURCES})
target_include_directories(soui 
	PUBLIC  
		${CMAKE_CURRENT_SOURCE_DIR}/include
		${CMAKE_CURRENT_SOURCE_DIR}/config
		${CMAKE_CURRENT_SOURCE_DIR}/utilities/include
		${CMAKE_CURRENT_SOURCE_DIR}/components)

target_link_libraries(soui PRIVATE emoney-core-interface PUBLIC  Usp10.lib zlib)
set_target_properties(soui PROPERTIES FOLDER "dep")

set_property(TARGET soui PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")